<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'detail.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<script src="js/jquery-1.7.1.js">
</script>
		<script src="js/jquery-ui-1.8.18.custom.min.js">
</script>
		<link href="css/jquery-ui-1.8.18.custom.css" rel="stylesheet"
			type="text/css" />
		<script>
$(function() {
	$('#tabs').tabs();
});
</script>

	</head>

	<body>
		<div id="tabs">
			<ul>
				<li>
					<a href="#feature"><span>feature</span> </a>
				</li>
				<li>
					<a href="#requirement"><span>requirement</span> </a>
				</li>
				<li>
					<a href="#design"><span>design</span> </a>
				</li>
				<li>
					<a href="#implemention"><span>implemention</span> </a>
				</li>
				<li>
					<a href="#testCase"><span>test case</span> </a>
				</li>
			</ul>

			<div id='feature'>
				<table border="1">
					<tr>
						<td>
							choose
						</td>
						<td>
							title
						</td>
						<td>
							author
						</td>
						<td>
							version
						</td>
					</tr>
					<s:iterator value="projectList" id="list" status="st">
						<tr>
							<td>
								<input type="checkbox" value='<s:property value="#list.pid" />' />
							</td>
							<td>
								<s:property value="#list.title" />
							</td>
							<td>
								<s:property value="#list.description" />
							</td>
							<td>
								<s:property value="#list.time" />
							</td>
						</tr>
					</s:iterator>
				</table>
			</div>
			<div id='requirement'>
				test2
			</div>
			<div id='design'>
				test3
			</div>
			<div id='implemention'>
				test4
			</div>
			<div id='testCase'>
				test5
			</div>
		</div>


	</body>
</html>
